import { Period } from "@/types/config";
import request from "@/utils/request";

export function getGeneralBudget(period: Period) {
    return request({
        method: 'get',
        url: '/budget/baseInfo',
        params: period
    })
}


export function getFinanceReport() {
    return request({
        method: 'get',
        url: '/report/predict'
    })
}